<!--component html goes here -->
<div *ngIf="showInpyt=='inputoneDate'">
    <input type="text" (focus)="inputfocus($event,'inputblur')" (blur)="inputblur($event,'inputblur')" [(ngModel)]="onedata.input">
</div>

<div class="section-date" *ngIf="showInpyt=='sectionDate'">
    <input type="text" class="start-date" (focus)="inputfocus($event,'startDate')" (blur)="inputblur($event,'startDate')" [(ngModel)]="startDate.input">
    <input type="text" class="end-date" (focus)="inputfocus($event,'endDate')" (blur)="inputblur($event,'endDate')" [(ngModel)]="endDate.input">
</div>
<div>
    <span class="icon iconfont icon-sanjiao" [ngStyle]="{'margin-left':marginLeft }"></span>
</div>
<div class="">
    <div class="day">
        <div class="week">
            <span>日</span>
            <span>一</span>
            <span>二</span>
            <span>三</span>
            <span>四</span>
            <span>五</span>
            <span>六</span>
        </div>
        <div *ngFor="let item of dayArr" class="date">
            <span *ngFor="let data of item" [ngClass]="{'act-span':data.dateStr==actDate.dateStr,'no-month':data.noSameMonth}" (click)="act_dataSpan(data,actInput)">
                {{data.text}}
            </span>
        </div>
    </div>
    <div class="dateMovement">
        <span class="icon iconfont icon-zuozuo-" (click)="yeashadd(-1)"></span>
        <span class="icon iconfont icon-zuo-" (click)="monthadd(-1)"></span>
        <span class="data-text">{{actDate.date|date:"yyyy-MM"}}</span>
        <span class="icon iconfont icon-zuo- right" (click)="monthadd(1)"></span>
        <span class="icon iconfont icon-zuozuo- right" (click)="yeashadd(1)"></span>
    </div>
</div>